﻿using SuperSocket.SocketBase.Command;
using SuperSocket.SocketBase.Protocol;

namespace SuperX.SuperSocket.Server.Command
{
    public class DoData : CommandBase<IOTSocketSession, BinaryRequestInfo>
    {
        public override void ExecuteCommand(IOTSocketSession session, BinaryRequestInfo requestInfo)//接收客户端数据
        {
            session.UpLoadEngine.OnDoData(requestInfo.Body, 0, requestInfo.Body.Length);
        }
    }
}
